/**
 * Created by 叶子 on 2017/8/13.
 */
// import { Router, Route, hashHistory, IndexRedirect } from 'react-router';
const { Route, Redirect, Switch } = ReactRouterDOM;

const WysiwygBundle = (props) => (
    <Bundle load={Wysiwyg}>
        {(Component) => <Component {...props} />}
    </Bundle>
);

class CRouter extends React.Component {

    render() {
        return (
            <Switch>
                <Route exact path="/app/form/basicForm" component={BasicForm} />

                <Route render={() => <Redirect to="/404" />} />
            </Switch>
        )
    }
}